// 订单
import Router from 'koa-router';
import axios from './utils/axios'
const router = new Router({prefix: '/order'})


// 创建购物车
router.post('/create',async ctx => {
  // ctx.request.body post传参
  const params = ctx.request.body
  console.log(params);
  ctx.body = {
    code: 0
  }
})


export default router